package com.ztn.iot.zhonghaichi2.push2.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class CameraRes {


    @JsonProperty("errno")
    private Integer errno;
    @JsonProperty("error")
    private String error;
    @JsonProperty("data")
    private DataDTO data;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("uuid")
        private String uuid;
        @JsonProperty("url")
        private String url;
    }
}
